﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
  <xsl:output method="html" indent="yes"/>
  <xsl:template match="Comments">
    <!-- BEGIN .content-box -->
    
    <div class='comments-wrapper'>
      <h3>
        <a href="#comments">Comments</a>
      </h3>
      <ol class='commentslist'>
        <xsl:apply-templates/>
      </ol>
      <!-- END .content-box -->
    </div>
  </xsl:template>
  <xsl:template match="Comment">
    <li>
      <div class="comment-gravatar">
        <img border="0">
          <xsl:attribute name="src">
            <xsl:value-of select="Gravatar"/>?s=50
          </xsl:attribute>
        </img>

      </div>
      <div class="comment-info">
        <span class="comment-date">
          <a>
            <xsl:attribute name="href">
              <xsl:value-of select="Website"/>
            </xsl:attribute>
            <strong><xsl:value-of select="Name" />
            </strong>
          </a>
          <xsl:value-of select="Date" />
        </span>
        <p>
          <xsl:value-of select="Comment" />
        </p>
      </div>
      <div class="clearfix"></div>
    </li>
  </xsl:template>
</xsl:stylesheet>
